import {
	request
} from '@/util/api.js'

// 查询资企业
export const authorityUser = (data) => {
	return request({
		url: 'api/authority/user',
		method: 'get',
		data
	})
}

// 添加管理员
export const setupIstrator = (data) => {
	return request({
		url: 'api/authority/setup_istrator',
		method: 'post',
		data
	})
}


// 管理员列表
export const istratorList = (data) => {
	return request({
		url: 'api/authority/istrator_list',
		method: 'get',
		data
	})
}
